package edu.wata.domain;

import java.math.BigDecimal;
import java.time.LocalDate;

public class Order {
	private int id;
	private String userName;
	private String TrainId;
	private LocalDate date;
	private BigDecimal ticketNumber;
	private BigDecimal totalFares;

	public Order() {

	}

	public Order(int id, String userName, String trainId, LocalDate date, BigDecimal ticketNumber,
			BigDecimal totalFares) {
		super();
		this.id = id;
		this.userName = userName;
		TrainId = trainId;
		this.date = date;
		this.ticketNumber = ticketNumber;
		this.totalFares = totalFares;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTrainId() {
		return TrainId;
	}

	public void setTrainId(String trainId) {
		TrainId = trainId;
	}

	public LocalDate getDate() {
		return date;
	}

	public void setDate(LocalDate date) {
		this.date = date;
	}

	public BigDecimal getTicketNumber() {
		return ticketNumber;
	}

	public void setTicketNumber(BigDecimal ticketNumber) {
		this.ticketNumber = ticketNumber;
	}

	public BigDecimal getTotalFares() {
		return totalFares;
	}

	public void setTotalFares(BigDecimal totalFares) {
		this.totalFares = totalFares;
	}

}
